package method.method1204;

public class Stu1 {
    public static void main(String[] args) {
        Stu01 st=new Stu01();
        String name1=st.name;
        name1="张三";
        System.out.println("姓名："+name1);
        int age1=st.age;
        age1=18;
        System.out.println("年龄："+age1);
        st.study();
        if (st.doWork(10,5)){
            System.out.println("作业完成");
        }
    }
}
